// src/styles/index.scss
@import './variables.scss';

/* Reset & Base styles */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  font-size: $font-size-base;
  color: #333;
  background-color: $background-color;
}

/* Typography */
h1 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #333;
}

h2 {
  font-size: 24px;
  margin: 20px 0;
  color: #333;
}

h3 {
  font-size: 20px;
  margin: 16px 0;
  color: #333;
}

p {
  margin: 16px 0;
  line-height: 1.6;
}

/* Links */
a {
  text-decoration: none;
  color: $primary-color;
}

a:hover {
  color: lighten($primary-color, 10%);
}

/* Code blocks */
code {
  background-color: #f5f7fa;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
}

pre {
  background-color: #f5f7fa;
  padding: 16px;
  border-radius: 4px;
  overflow: auto;
  margin: 16px 0;
}

/* Layout components */
.container {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
  padding: 20px;
  margin-bottom: 20px;
}

/* Component documentation */
.doc-section {
  margin-bottom: 30px;
}

.demo-block {
  border: 1px solid $border-color;
  border-radius: 4px;
  margin: 20px 0;
}

.demo-content {
  padding: 24px;
}

.demo-description {
  padding: 20px;
  border-top: 1px solid $border-color;
  background-color: #fafafa;
}